﻿
#ifndef _COMMON_PATH_
#define _COMMON_PATH_


#include "Common.h"



#if defined(__cplusplus)
extern "C" {     /* Make sure we have C-declarations in C++ programs */
#endif



enum PATH{
	I_DTA_PATH_BGHOME = 0,
	//I_DTA_PATH_BGCONTROL,
	//I_DTA_PATH_BGNAVIGATE,
	//I_DTA_PATH_BGSETTING,
	I_DTA_3X4,
	I_DTA_4X3,
	I_DTA_4X4,
	I_RETURN,
	I_DTA_SWITCH_ON,
	I_DTA_SWITCH_OFF,
	I_DTA_PALETTE,
	I_DTA_CON_ADD,
	I_DTA_CON_DEL,
	I_DTA_CON_AUTO_ON,
	I_DTA_CON_AUTO_OFF,
	I_DTA_CON_COLD_ON,
	I_DTA_CON_COLD_OFF,
	I_DTA_CON_HEAT_ON,
	I_DTA_CON_HEAT_OFF,
	I_DTA_CON_SWITCH_ON,
	I_DTA_CON_SWITCH_OFF,
	I_DTA_CON_VENTIL_ON,
	I_DTA_CON_VENTIL_OFF,
	I_DTA_CON_WET_ON,
	I_DTA_CON_WET_OFF,
	I_DTA_TEMP_SET,
	I_DTA_ROOM_LIVING,
	I_DTA_ROOM_BED,
	I_DTA_ROOM_KITCHEN,
	I_DTA_ROOM_WASH,
	I_DTA_ROOM_STUDY,
	I_DTA_HOME_ALARM,
	I_DTA_HOME_SET,
	I_DTA_FUN_CONDITION_ON,
	I_DTA_FUN_CONDITION_OFF,
	I_DTA_FUN_CURTAIN_ON,
	I_DTA_FUN_CURTAIN_OFF,
	I_DTA_FUN_LIGHT_ON,
	I_DTA_FUN_LIGHT_OFF,
	I_DTA_FUN_FLOORHEAT_ON,
	I_DTA_FUN_FLOORHEAT_OFF,
	I_DTA_FUN_MUSIC_ON,
	I_DTA_FUN_MUSIC_OFF,
	I_DTA_MODE_BACKHOME_ON,
	I_DTA_MODE_BACKHOME_OFF,
	I_DTA_MODE_AWAYHOME_ON,
	I_DTA_MODE_AWAYHOME_OFF,
	I_DTA_MODE_COFFEE_ON,
	I_DTA_MODE_COFFEE_OFF,
	I_DTA_MODE_MEETING_ON,
	I_DTA_MODE_MEETING_OFF,
	I_DTA_MODE_ONWORK_ON,
	I_DTA_MODE_ONWORK_OFF,
	I_DTA_MODE_LEISURE_ON,
	I_DTA_MODE_LEISURE_OFF,
	I_DTA_MODE_MEDIA_ON,
	I_DTA_MODE_MEDIA_OFF,
	I_DTA_CURTAIN_OPEN,
	I_DTA_CURTAIN_CLOSE,
	I_DTA_CURTAIN_CONTINUE,
	I_DTA_CURTAIN_PAUSE,
    I_DTA_MUSIC_RANDOM,                      
    I_DTA_MUSIC_CIRCULATE,
    I_DTA_MUSIC_NEXT,
    I_DTA_MUSIC_PRE,
    I_DTA_MUSIC_VOLUMEUP,
    I_DTA_MUSIC_VOLUMEDOWN,
	I_DTA_SET_UPDATE,
	I_DTA_SET_LIGHT,
	I_DTA_SET_LANGUAGE,
	I_DTA_SET_LOCK,
	I_DTA_SET_SETLOCK,
};


#define DTA_PATH_BGHOME                        "bg_home.dta"
//#define DTA_PATH_BGCONTROL                     "bg_control.dta"
//#define DTA_PATH_BGNAVIGATE                    "bg_navigate.dta"
#define DTA_3X4						   "3x4.dta"
#define DTA_4X3						   "4x3.dta"
#define DTA_4X4						   "4x4.dta"
//#define DTA_PATH_BGSETTING                     "bg_setting.dta"
#define RETURN				                   "all_back.dta"
#define DTA_SWITCH_ON                          "switch_on.dta"
#define DTA_SWITCH_OFF                         "switch_off.dta"
#define DTA_PALETTE                            "palette.dta"

#define DTA_ROOM_LIVING                        "room\\livingroom.dta"
#define DTA_ROOM_BED                           "room\\bedroom.dta"
#define DTA_ROOM_KITCHEN                       "room\\kitchen.dta"
#define DTA_ROOM_WASH                          "room\\washroom.dta"
#define DTA_ROOM_STUDY                         "room\\study.dta"

#define DTA_CON_ADD                            "temp\\con_add.dta"
#define DTA_CON_DEL                            "temp\\con_del.dta"
#define DTA_CON_AUTO_ON                        "temp\\con_auto_on.dta"
#define DTA_CON_AUTO_OFF                       "temp\\con_auto_off.dta"
#define DTA_CON_COLD_ON                        "temp\\con_cold_on.dta"
#define DTA_CON_COLD_OFF                       "temp\\con_cold_off.dta"
#define DTA_CON_HEAT_ON                        "temp\\con_heat_on.dta"
#define DTA_CON_HEAT_OFF                       "temp\\con_heat_off.dta"
#define DTA_CON_SWITCH_ON                      "temp\\con_switch_on.dta"
#define DTA_CON_SWITCH_OFF                     "temp\\con_switch_off.dta"
#define DTA_CON_VENTIL_ON                      "temp\\con_ventil_on.dta"
#define DTA_CON_VENTIL_OFF                     "temp\\con_ventil_off.dta"
#define DTA_CON_WET_ON                         "temp\\con_wet_on.dta"
#define DTA_CON_WET_OFF                        "temp\\con_wet_off.dta"
#define DTA_TEMP_SET                           "temp\\temp_set.dta"
#define DTA_TEMP_SLIDER                        "temp\\temp_slider.dta"
#define DTA_TEMP_SLIDER_BTN                    "temp\\temp_slider_btn.dta"


#define DTA_HOME_ALARM                         "home_alarm.dta"
#define DTA_HOME_SET                           "home_set.dta"

#define DTA_FUN_CONDITION_ON                   "widget\\aircon_on.dta"
#define DTA_FUN_CONDITION_OFF                  "widget\\aircon_off.dta"
#define DTA_FUN_CURTAIN_ON                     "widget\\curtain_on.dta"
#define DTA_FUN_CURTAIN_OFF                    "widget\\curtain_off.dta"
#define DTA_FUN_LIGHT_ON                       "widget\\light_on.dta"
#define DTA_FUN_LIGHT_OFF                      "widget\\light_off.dta"
#define DTA_FUN_FLOORHEAT_ON                   "widget\\floorheating_on.dta"
#define DTA_FUN_FLOORHEAT_OFF                  "widget\\floorheating_off.dta"
#define DTA_FUN_MUSIC_ON                       "widget\\music_on.dta"
#define DTA_FUN_MUSIC_OFF                      "widget\\music_off.dta"


#define DTA_MODE_BACKHOME_ON                   "widget\\backhome_on.dta"
#define DTA_MODE_BACKHOME_OFF                  "widget\\backhome_off.dta"
#define DTA_MODE_AWAYHOME_ON                   "widget\\awayhome_on.dta"
#define DTA_MODE_AWAYHOME_OFF                  "widget\\awayhome_off.dta"
#define DTA_MODE_COFFEE_ON                     "widget\\coffee_on.dta"
#define DTA_MODE_COFFEE_OFF                    "widget\\coffee_off.dta"
#define DTA_MODE_MEETING_ON                    "widget\\meeting_on.dta"
#define DTA_MODE_MEETING_OFF                   "widget\\meeting_off.dta"
#define DTA_MODE_ONWORK_ON                     "widget\\working_on.dta"
#define DTA_MODE_ONWORK_OFF                    "widget\\working_off.dta"
#define DTA_MODE_LEISURE_ON                    "widget\\leisure_on.dta"
#define DTA_MODE_LEISURE_OFF                   "widget\\leisure_off.dta"
#define DTA_MODE_MEDIA_ON                      "widget\\media_on.dta"
#define DTA_MODE_MEDIA_OFF                     "widget\\media_off.dta"

#define DTA_CURTAIN_OPEN                       "curtain\\curtain_open.dta"
#define DTA_CURTAIN_CLOSE                      "curtain\\curtain_close.dta"
#define DTA_CURTAIN_CONTINUE                   "curtain\\curtain_continue.dta"
#define DTA_CURTAIN_PAUSE                      "curtain\\curtain_pause.dta"

#define DTA_MUSIC_RANDOM                       "music\\random.dta"
#define DTA_MUSIC_CIRCULATE                    "music\\circulate.dta"
#define DTA_MUSIC_NEXT                         "music\\media_next.dta"
#define DTA_MUSIC_PRE                          "music\\media_pre.dta"
#define DTA_MUSIC_VOLUMEUP                     "music\\volumeup.dta"
#define DTA_MUSIC_VOLUMEDOWN                   "music\\volumedown.dta"

#define DTA_SET_UPDATE                         "setting\\update.dta"
#define DTA_SET_LIGHT                          "setting\\light.dta"
#define DTA_SET_LANGUAGE                       "setting\\language.dta"
#define DTA_SET_LOCK                           "setting\\lock.dta"
#define DTA_SET_SETLOCK                        "setting\\update.dta"


uint8_t InitPicture(void);
GUI_HMEM GetPicturePathHmem(uint32_t pathIndex);



#if defined(__cplusplus)
}
#endif


#endif
